package cn.itcast.zt.java8.thread.model.deal;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.json.JSONUtil;
import cn.itcast.zt.java8.thread.model.vo.PersonInVO;
import cn.itcast.zt.java8.thread.model.vo.PersonOutVO;

/**
 * 用户信息处理deal
 * create by zhangtian105 on 2021/8/5
 */
public class PersonInfoDeal extends AbstractDeal<PersonOutVO, PersonInVO, String> {
    @Override
    public void deal(PersonOutVO personOutVO, PersonInVO personInVO, String s) {
        BeanUtil.copyProperties(personInVO, personOutVO, false);
        System.out.println("处理PersonInfo业务逻辑......>>:" + JSONUtil.toJsonStr(personInVO) + ">>:" + JSONUtil.toJsonStr(personOutVO));
    }
}
